package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.SysDict;
import com.k2data.k2app.domain.WechatInfo;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WechatInfoMapper extends K2Mapper<WechatInfo> {

    int deleteByOpenInfo (@Param(value = "openId") String openId);

    WechatInfo getByOpenId (@Param(value = "openId") String openId);
}